package com.woniu.gym.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.core.util.PageInfo;
import com.woniu.gym.dto.FindGymBaseDto;
import com.woniu.gym.dto.GymBaseDto;
import com.woniu.gym.form.FindGymBaseByAdminForm;
import com.woniu.gym.form.FindGymBaseByIdForm;
import com.woniu.gym.form.ModifyGymInformationForm;
import com.woniu.gym.model.TGymBase;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
public interface TGymBaseService extends IService<TGymBase> {

    GymBaseDto findGymBaseByNum(String gymNum);

    TGymBase modifyGymMark(String gymNum, Double gymMark);

    PageInfo<FindGymBaseDto> findGymBaseById(FindGymBaseByIdForm form);

    PageInfo<FindGymBaseDto> findGymBaseByAdmin(FindGymBaseByAdminForm form);

    TGymBase modifyGymByNum(ModifyGymInformationForm form);

    TGymBase modifyGymState(String gymNum);
}
